package com.bz.content.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.bz.pojo.TbContent;
import com.bz.utils.PageResult;
import com.bz.vo.ContentVo;

import java.util.List;

public interface ContentService extends IService<TbContent> {

    PageResult selectTbContentAllByCategoryId(Integer page, Integer size,Long categoryId);

    Integer insertTbContent(TbContent tbContent);

    Integer deleteContentByIds(Long id);

    List<ContentVo> selectFrontendContentByAD();
}
